
import http from "@/utils/http";
import { get_token } from "@/utils/common";
const get_monitor = function get_monitor(is_robot,route){
  if(!is_robot){
    is_robot=0
  }else{
    is_robot=1
  }
  let token=get_token();
  let account_id= route;
  return  http.post(
    `/api/rule/bet_record/agent?token=${token}`,
    {
      is_robot:is_robot,account_id:account_id

    }
  );
}
export { get_monitor}
